package com.qf.feign.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name ="shop-resources",path = "/token")
public interface TokenService {

    @RequestMapping("/checkToken")
    public Integer checkToken(@RequestParam("token") String token);
}
